package com.bookcode.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;


@Controller
public class HomeController {
    @GetMapping("index")
    public String login(){
        return "index";
    }



    @GetMapping("addstudent")
    public String addStudent(){
        return "add_student";
    }

    @GetMapping("addteacher")
    public String addTeacher(){
        return "add_teacher";
    }

    @GetMapping("addcourse")
    public String addCourse(){
        return "add_course";
    }

    @GetMapping("addcourse_student")
    public String addCourseStudent(){
        return "add_course_student";
    }

    @GetMapping("addcourse_sign")
    public String addCourseSign(){
        return "add_course_sign";
    }

    @GetMapping("beginsign")
    public String beginSign(){
        return "begin_sign";
    }



    @GetMapping("endsign")
    public String endSign(){
        return "end_sign";
    }

}
